package com.it.domain;

import java.io.Serializable;
import java.util.Date;

public class Employee_salary implements Serializable {

    private int id;
    private String name;
    private String position;
    private double wage;
    private String reason;
    private Date salary_date;

    public Employee_salary() {
    }

    public Employee_salary(int id, String name, String position, double wage, String reason, Date salary_date) {
        this.id = id;
        this.name = name;
        this.position = position;
        this.wage = wage;
        this.reason = reason;
        this.salary_date = salary_date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public double getWage() {
        return wage;
    }

    public void setWage(double wage) {
        this.wage = wage;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Date getSalary_date() {
        return salary_date;
    }

    public void setSalary_date(Date salary_date) {
        this.salary_date = salary_date;
    }

    @Override
    public String toString() {
        return "Employee_salary{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", position='" + position + '\'' +
                ", wage=" + wage +
                ", reason='" + reason + '\'' +
                ", salary_date=" + salary_date +
                '}';
    }
}
